package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_brand_effect
 * @author 
 */
@Data
@ApiModel("")
public class CencesBrandEffect implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 安装渠道
     */
    @ApiModelProperty("安装渠道")
    private String brand;

    /**
     * sdk_key
     */
    @ApiModelProperty("sdk_key")
    private String sdkKey;

    /**
     * 1总计0分渠道
     */
    @ApiModelProperty("1总计0分渠道")
    private Integer type;

    /**
     * 每日必赚完成量
     */
    @ApiModelProperty("每日必赚完成量")
    private Integer finish;

    /**
     * 第一次签到
     */
    @ApiModelProperty("第一次签到")
    private Integer oneClick;

    /**
     * 第二次签到
     */
    @ApiModelProperty("第二次签到")
    private Integer twoClick;

    /**
     * 第三次签到
     */
    @ApiModelProperty("第三次签到")
    private Integer threeClick;

    /**
     * 第四次签到
     */
    @ApiModelProperty("第四次签到")
    private Integer fourClick;

    /**
     * 第五次签到
     */
    @ApiModelProperty("第五次签到")
    private Integer fiveClick;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    public CencesBrandEffect() {
    }

    public CencesBrandEffect(Integer time, String brand, String sdkKey, Integer type,Integer appId) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.brand = brand;
        this.sdkKey = sdkKey;
        this.type = type;
        this.finish = 0;
        this.oneClick = 0;
        this.twoClick = 0;
        this.threeClick = 0;
        this.fourClick = 0;
        this.fiveClick = 0;
        this.appId=appId;
    }


    private static final long serialVersionUID = 1L;
}